Use Case
Use case is a process of the software system which users can perform. Use case shows the interaction between users and the system; users are termed as actors. Actors are of two types; actors can be internal or external; actors can be human being, software components, or devices.
There are basically three types of relationships between use cases:
Actor: Bank Client. The bank client must be able to withdraw money from his or her bank account from the ATM.
Pre-Condition:
Description: The bank client interacts with the ATM system using his/her card; Card and PIN are verified by the system; if the card or PIN is not valid system displays invalid card or invalid PIN; user is given three changes to validate card or PIN; if the client is not able to provide correct card or PIN after three chances card will be taken inside the ATM, user will not get his or her card back; if the card and PIN are correct then client performs the withdraw process using the menu of the ATM system. During the withdraw process balance verification process is performed by the system. If there is no sufficient balance in the account of the client; system asks to re-enter amount; client will be provided three times to enter valid amount; if the client is not able to provide valid amount in three attempts, the card will be taken inside the ATM system; if the amount provided is valid then the ATM system dispenses cash and ejects the card. Client gets cash and card.
Post Condition: The bank client get cash; The bank account of the bank client is updated